Added problem 12 in fortran