added c file to print out the stack