getting adding to work for a regular bst
a simple refactoring