Binary Search Trees in Scala