added a graph class that implements BFS and shortest path