make astar an abstract class
start main for dijkstra