Completed programming assignment for Week 9 Anomaly Detection and Recommender Systems