rename graphs, add directed functionality
dfs and bfs from memory
dfs and bfs from memory