Added naive in-place C program