Added an array add function

Currently there's no way for array_push to do this. I made a quick and dirty function for it.