add perceptron.m and testperceptron.m
Merge branch 'master' of https://github.com/fpancald/Patterns-of-Life