Can someone help me to arrange the columns given below: Note: The tree can expand as gievn in exampe and can have more values. TOP of the tree being '1' :INPUT========================================COLUMN1 COLUMN2---------------------------------------1 = TOP1-2001 = MIDDLE1-2001-2002 = BOTTOM1-3001 = ALPHA1-3001-3002 = BETA1-3001-3002-3003= GAMMAOUTPUT========================================COLUMN1 COLUMN2 ---------------------------------------1 = TOP1-2001 = TOP-MIDDLE1-2001-2002 = TOP-MIDDLE-BOTTOM1-3001 = TOP-ALPHA1-3001-3002 = TOP-ALPHA-BETA1-3001-3002-3003= TOP-ALPHA-BETA-GAMMA