Cleaned code and trying some if statements to fix runtime error caused
by no user input.