Fixed input error handling.
Merge branch 'master' of https://github.com/teogelles/CS31