stack implemented by array in c
add source code for stack