Refactored the action generation out of the AI

Added a Player class. The Player can choose between a set of generated
offense and defense actions (in case of the AI, it chooses the most valuable
action).