Base implementation for the ring buffer. Not 100% sure it works
(in fact, I haven't even modified the makefile as necessary to guarantee
it builds), but I think it should be okay. Biggest things to be done:
implement read and write wrapper functions (should be quite easy) and
convince myself that the automic operations aren't necessary. Everything
else should just be hammering out API confusion, which will likely
happen in class tomorrow.
Fixed a few macro bugs and fixed up the makefile so it builds. Still not
100% sure it works, but without software to test against, I don't think
I will.