ram - chapter 9

Attempt at chapter 9
Bonus marks for capture variable naming!