Add another test for the top operation for an empty stack.
Add tests for the empty operation.
Add the implementation for the empty method.