Converted CircularBuffer to template
Implemented dynamic buffer memory allocation, copy constructors, destructors, and test class