A simple buffer implementation in Scala to show the possibilities of abstract type members.