Update perceptron2D.py

Added source for the code inspiration