I was thinking a lot about: how to solve this problem. So I decided yo implement this with Dijkstra algorithm. Unforetunatly I was faced with a problem of realising this algorithm between 2 points. So I putting in the next file some aspects of work that I have done already.