Updated listUtils with clauses to generate lists of arbitary length.