fixed nested loop constructs
Merge branch 'master' of git://github.com/kalvinnchau/cse131