Perceptron Linear Algorithm - Simulation of Convergence Rate (python implementation)