Added remove functionality, changed from vector to list.