Add learn.hs
Change file name: learn.* -> perceptron.*