Java program to solve 8-Puzzle using A* search with Manhattan heuristic