Changed ArrayLists to LinkedLists (because of lower costs of removal). Changed variable names.