Added basic structure for Dijkstra algorithm