the first part of a project for the MIT Machine Learning class 6.s064