Creating Circular Buffer lib

http://arduino.cc/forum/index.php/topic,97455.0.html
In particular, read item 6.