First Machine Learning Challenge: Implement a Perceptron in JavaScript to classify handwritten digits