simple c code problems for practice