Pops an object from the stack.
object popped from the stack or null if the stack is empty.
Out: If an element is returned, less than max_length elements must be on the stack, otherwise the stack must be empty.
See Implementation
Pops an object from the stack.