removed if statements from get_leaf methods in hash and deep_tree. Refactored class method get_leaf to account for altered get_leaf instance methods.