Update Machine Learning HW1.R