Added stack.cpp class