Created function for sending data over the Xbee radios in API mode.
Still needs code for writing the data to the payload array.