Stack, Queue

Implement stack, queue
Why is this type integer?
You can use generic programming.