Write StackImpl, needs more tests for null...