Gap buffer data structure
