Java program to demonstrate the insertion and deletion of nodes in a tri-nary tree