Slightly less ugly solution for list access
More CodeEval solutions