define type of catched exceptions
add method to get adjacency of specified vertex.
add BFS and DFS