createCodeTree() implemented in terms of until(), singleton(), combine(), makeOrderedLeafList(), and times().