TrinaryTree class

TrinaryNode has left, mid and right children. Very like BST.