Refactor of for-loop iterators. Renaming index variable within loop to either i or j
issue #8
removed variable prefixes 'a' and 'the'. #33