drafted first way to print names instead of column numbers in the tree