NSArrayByAddingObject function.