Program for finding minimal path in the area with A* algorithm.