Classes defining the puzzle game