Utility function to create a new tree node with k children
static Node newNode ( int value ) { Node nNode = new Node ( ) ; nNode . key = value ; nNode . child = new List < Node > ( ) ; return nNode ; } static int ind ;