Answer the questions. Sometimes glitches. (Sorry, this is because I had to type something for every possible combination of answers, and may have messed up.)
@cs2368473 for helping and explaining the code.