Homework for LAB10

Working Dijkstra algorithm and also a function to calculate the distance between two points using that algorithm.