Correct addition of atoms to a list. Unlike Vector, a List does not let you use set(int, Obj) unless that index already has an item.

Change-Id: I96004873d392e572efebb94f34f040fb79112238
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>