Fixed error with end of program that came up in testing the rule that classes cannot be defined across files.