exercises in C