added perceptron trainer
Merge branch 'hierarchicalhmm' of github.com:rockanjan/HMM into hierarchicalhmm