Update stack.c

Comments for clarity