Create stack.h

define a stack as API