Edited difficulty check logic to also loop for non-numeric input.