Fix BST breadthFirstLog

It's not the most elegant implementation but it works. This resolves #22