C code exercises for Computational Physics