Done: game mechanics and user interface, WIP: isSolved function