Fix pep8 violations and clean up submissions code
Make student submissions a generator to avoid memory issues