week4 makeOrderedLeafList