pop_back, pop_front return the thing that was popped