updated letter_grade -reflections+refactored solution