simplify calculate happiness. add sort_years, average_rating_by_year, and movie_rating_slope methods