Modified behavior of game_result to deduct 'cost_to_play' from result
when the player defects and his/her opponent cooperates. Incorrect
behavior was discovered by the `test_game_result` unit test.
Added new unit tests for game.cpp functions.