The main method in trinary tree commented.