Implemented solution for CodeEval's Stack Implementation challenge
https://www.codeeval.com/open_challenges/9/