added changes to skeleton of stack.cc (tests can be written, functions can be implemented), and documentation in docs)