Eight puzzle A* star search and misplaced tiles heuristic