Minor bugs & binarytree.py done.