Critical path trace, BFS example, adding multiple nodes, bugfix

Closes #29.