Added a single C solution to the problems