Fixing compiler warning

No change in functionality, but + on ArrayBuffer is deprecated, so
switchign to += (which is also more clear).
Adding chapter 6 exercises.

Automatically generated, yay!