removed spurious print statement
Refactored code for grades index page and assignments/download