Sliding Blocks Puzzle Solver