mixedCase style and flags variables as local to main
Merge branch 'style'
reuse of a variable, no colon
Merge pull request #3 from gdchamal/master

mixed case variables and remove some global variables