Refactored Gameplay. Puzzle class and Puzzle1.