updated error checking
Merge branch 'master' of git://github.com/mladmon/cs108-project
Merge branch 'master' of git://github.com/mladmon/cs108-project