Added methods using for loops.
Merge branch 'master' of github.com:stuycs-apcs-z/hw