Code for the XBee network used in my Capstone class