Function To Add Element In Array