almost done machine leraning hw2