Changing right left nodes to list of children.