removeElement

Removes the first element that equals e, returning whether an element has been removed.