Perceptron Learning Algorithm implemented in JavaScript, and a html page to visualize the Learning