Learning libxbee

Here's a C file that I was working on to learn libxbee API.