Pop returns int, and ErrStackIsEmpty error if the stack is empty. Top and IsEmpty are removed.