Append data to coll

A reasonable way to append an item in the coll object is to keep track of the last or highest index. This can be done using a counter object or an i (int) object just above coll. Then increment the counter or by one each time you add a new item to the coll object.