Added template for graph and Dijkstra search algorithm