begin implementation of readTrainingData() of class ItemCosine in filters.py in collaborativeFilters module