My codes from Recommender Systems Class(Sep 2013)