Completed programming assignment for Week 6 Advice for Applying Machine Learning