added loop support for VM
added simple array support for VM