added clear and empty functions and renamed functions to reflect conventions used by the C++ STL
Merge pull request #2 from mikedlowis/circular-buffer

Circular buffer