A virtual machine for simulating swarms of simple robots