Stack implementation in C++

Stack is a common datastructure used mostly by the system to push/pop frames of excecution.