Added exception handling for input that is not numbers

i think i got it to work?