Enable rake task to find the shorthest path using dijkstra algorithm