Added stack.c file.