The `Buffer` type should be interacting with a generic type with a specific trait, not the GapBuffer class itself.
The
Buffertype should be interacting with a generic type with a specific trait, not the GapBuffer class itself.