Added Graph definition and bfs, dfs algorithm