30001. Midterm.1 Removing same-value neighboring pairs from a vector

I'm a slow walker, but I never walk backwards.