Adding solution for problem 3 in c.
Adding solution for problem 4 in c.
Making formatting consistent accross solutions.