Add generic typing to BinaryNode, BinaryTree and BinarySearchTree.