Removes the indices that are >= start and < end.
>= start
< end
void removeRange(int start, int end);