Refactored setlists to use enumerate and list slicing.
Functionally, also refactored setlist.removeall to iterate
over the input elements so that we aren't doing inclusion
testing on the input which might be slow.