Create stack.h

A pure-C implementation of the std::stack class in stack.hpp.