Implemented circular_buffer class, fixed source/spin_mutex.cpp