Perceptron and Back-Propagation Homework *Learning Purpose Only*