changed variable scope, added for loop
Merge branch 'master' of https://github.com/srwareham/SLogo