Added cmp/to_str/clone functionality and related tests to B-tree

Filled out the B-tree data structure I'm working on to include more basic functionalities.  r? @catamorphism