implement stack and generic stack with the tests.