So I think my problem is with the last index. I lowered down the number of words for the checking of the code so I know that's not a ten, but I just need to figure out the logic first and so far this is what I have. I'm not sure if I'm thinking about this right or doing this right. Please help!