variable name error

The variable name --- `dist` error
`dist = {}`  will cover `dist = grades.answer_distributions(course.id)`

@ormsbee 
@sarina 
Please use the name you use to sign the contributor's agreement, not your Github username. Thanks!