I cant get the program to loop

i think i understand I have 10 so i need 11 because i dont use locations 0 and 1