CodeEval: Stack Implementation