Sorted dict 1

Pull request for SortedDict and BalancedTree23 taking into account Kevin Squire's feedback from the past 12 days.
Idiomatic Julia would use `isvalid` here, with the type implied by the argument.