Robot carries out an array of instructions