Removes the last element of the vector and returns it. Only call this if the vector is not empty.
// PROTOTYPE T takeLast();