Assignment 1: Linear and Logistic Regression Solution