Implement Stack() and Data() in stack.py to pass tests in test_stack.py