Adding solution for the perceptron learning algorithm problem on CS1156x course
on EdX.