Makes changes to LinkedList