Added debugging to stack.c
deleted dumb output