Perceptron decision making implemented