week 4 bst replacement for hashmap (object)