Made some small debugging changes. Also, started doxygen documentation. Pretty bare so far, but it's a good learning experience for those learning C. I highly recommend trying it sometime