Consider a program that administers multiple-choice quizzes. For each
question, the student provides a response A, B, C, or D. An X means
that the student provided no answer. An example of a valid answer string
"ADXDCCDDXA". Your task is to write a method that checks
whether a string is a valid answer string.