Perceptron Code

Code for the Perceptron Learning Algorithm. Computes the correct weights
and plots the precision recall curve. Might be correct.