solve the puzzles