fix stack implement

according to Exercise 2.12, the stack data type should be **Procedual Representation**