creating a stack in C