Added .gitignore
REFACTOR: Created class GameEngine and extracted method verify_game_state_consistency