always take a pointer to array when creating a new one, always take pointer to arrays in arguments that take arrays.
changed `.append` method to operate on an array pointer. updated `len` builtin to operate on a pointer.
fixed passing an array to another function that appends to it.