printfs everywhere.
Created CircBuffer class.