Perceptron model in Julia