start of mutable array based interpreter, not fully working right now