Create Trinary Tree