First commit

main.c source code added.