add stack.h to ch6/