Adding checking of final words for certain patterns. This fixes issue #1
Merge branch 'master' of https://github.com/d-m/bmorehackathon2014
fixed bugs in end word checking
Merge branch 'master' of https://github.com/d-m/bmorehackathon2014