fixed for loops
fixed initializers
Merge branch 'master' of github.com:andrewchambers/g