so the following code is meant to test every possible combination of characters untill it finds the one you typed, however at one point it says list index out of range, how