EEPROM read isn't working

Don't use the literal number '10' everywhere. Define a constant at the start of the program and use that to size array, loop indexes, etc. That way, if you want to change it to '12' it is done in one place only and everything else adjusts.