fixed issue where the same line would be counted multiple times if it matched multiple statements
changed the conditional ordering for checking if a line matches a statement
changed variable names to not include the word print in them