The XBEEs now talk to each other properly. I made a function for easily sending data through the XBEE. Include serial_write.h and then run the
following function:

1) int fd = open_port();
2) send(fd,int data[], int data_length);

int data[] is an array of integers that will be looped through. Each value will be changed to hexadecimal format and then sent one by one to the
XBEE. data_length is the length of the data[] array.