Fixed C program
Added Makefile