My attempt at chapter 9

Missing out on diamond operator magic