moved node and bst into shared examples
Modified BST so that it can be subclassed (NodeType). Fixes for shared examples. Added Indexed BST
Added working leftsize and rank