implemented actions

and also, added a comment to the already-complete BinaryDecision class.