Implemented Perceptron and Dual form of Perceptron