initializes stack
s
to empty
setstack(&s);