working on part 2
Added 'try/except' statements to catch user input errors