This is my first implementation of Dijkstra algorithm