adds stack class with tests
modifications to stack
adds generic stack