A simple C++ implementation of a Gap Buffer.