Construction of graph here 0 represent that the node is root node
constructGraph ( 2 , 0 , 0 ) NEW_LINE constructGraph ( 5 , 2 , 1 ) NEW_LINE constructGraph ( 3 , 5 , 2 ) NEW_LINE constructGraph ( 4 , 5 , 3 ) NEW_LINE constructGraph ( 1 , 5 , 4 ) NEW_LINE constructGraph ( 7 , 1 , 5 ) NEW_LINE constructGraph ( 9 , 1 , 6 ) NEW_LINE constructGraph ( 10 , 9 , 7 ) NEW_LINE constructGraph ( 11 , 10 , 8 ) NEW_LINE constructGraph ( 6 , 10 , 9 ) NEW_LINE constructGraph ( 8 , 10 , 10 ) NEW_LINE