8Puzzle works