added booleans to check if puzzles are completed