add comments to Buffer, rename removeLast to unappend
rename type var from A to E
clean up NaiveArrayBuffer

* formatting
* implement Buffer trait
* rename type var from A to E
reorder Buffer methods