start creating class ShortestPath