Added error message if user types in words instead of numbers