+ added A* algorithm to graph class