Program koristi A* algoritam pretrage sa heuristickom funkcijom Manhattan distance.