finished R-B BST, fixes to hash