Boosted the loop section, added lists of lists, and sets.