did half of input validation. not completely done
Merge branch 'master' of https://github.com/jemah/enchord