Import scanner class for reading the test string in from the keyboard.