Project Euler project 1 simple for loop with method
fixed else statement
reordered code, was getting function not defined
more robust, made funciton of for loop
fixed variable name
fixed boolean names MUST BE TITLE CASED