Remove unnecessary leading spaces
Fix shebang line
Remove unnecessary declaration of variable 'a'
Readability fixes
make the program 100x faster
Merge pull request #1 from qiuey00/nick/problem2_suggestions

Nick/problem2 suggestions