medium calculate letter grade final solutions!