Add node + tree + bfs stuff, add deadlock example