Fix Memory put
Add Repeat instruction