implemented A* algorithm to solve the 8 puzzle game