List index too large error

What about this?