Fortran 77: Pring 1 to 10 to screen using two nested loops