A simple stack implementation to learn and get familiarized with C++