Add basic simulation of Go slices.