added module with handy functions for graphs

bfs, dfs