Create libbuffer.c