Algo seems to be done, but most likely there are bugs.
Perceptron seems to be working