Moebius Solutions interview question

Implement a stack from scratch.