I think you could work with a jit.matrix object. That would be the easiest way to manipulate a list of numbers.
Another way of creating a list of zeros is to use zl group with uzi sending 0 as a message.