Added shortest path class for a* and djikstra's alg