Fix 1-based index for Fortran array
Merge pull request #133 from tomyun/HW6_branch

Homework 6 (fix)