Balance Binary Search Trees in Linear Time Python implementation of the now expired patent 6,675,157 by the original inventor