Better information hiding in Puzzle class