Completed homework 1, ran simulation for perceptron