implementing perceptron in python from the original paper pusblished by Rosenblatt in 1958.
first step: reading the paper.
second step: identifying the concept. The idea behind the perceptron is to collect a subset of binary responses based on a comparison with a threshold theta. The algorithm is the following: