Basic DAG implementation
BFS/DFS traversals
AVL without rotation