Accepts user input for wordLength.