Changed/ edited collapseDuplicates method and created randomize method based on discussions in class; tested out stuff in main; it actually worked :')