prepare for arrays

added mem_set and mem_get commands