Greedy Best First Search Algorithm applied on distances between cities.