finishing perceptron class and drawing decision boundary