C Homeworks for DS course