Implementation of a Tree Dictionary with hashable, sorted (k, v) pair objects, using a BST implementation