in chapter_2/recommendations.py add recommendation algorithm