CollapseDuplicates lab

Eliminates any duplicates from an ArrayList