Add a more efficient solution to problem 1 written in c.