Modified Makefile to create a library for common text operations.
Added functions for creating and destroying buffers.
Added functions for opening files as buffers.
Modified file buffers to set their size when opened.
Modified buffer close function to verify that the buffer has a descriptor before trying to close it
I guess that this is conventional?