added parent setting in bst
changed function definitions not to use var, and be globally available in the scope, added successor functionality to bst
added predecessor method to bst
corrected indentation