Create buffer.cpp