check input

For the yes, no questions I've removed any possibility of the user
messing with the program (yes that's you fiddle fingers!)
Merge pull request #4 from Samji/removing-input-error

check input