Perceptron adopted to application needs. Now it is working on integers
('0' and '1' -  equivalent to boolean true or false).