BaseStack interface to ensure method implementation for subclasses
Created centralized base test class to handle common tests
Array test cases
NodeStack implementation