Changed HashSet to LinkedList

Not as tough as I thought…