Implement a class for a binary tree of integers.