Modified NumPuzzle