action_group implemented as an object now
added functionality to Card prototype in preparation of testing move legality. These need to be tested.