Practice building a recommendation engine in Python