Wrote perceptron code and prototype GUI