Added C solution to p5