moved the os check from the Cell class to the Puzzle class