assignment 11
add input exception
Merge pull request #10 from mj1547/master

done