This function adds an element to the beginning of an array.