Problems and C source codes for use in class