Ryan's Chapter 5 stuff

A bit late, but I was away.
Is it necessary to chomp only to add a \n later on? When I tried removing both though, it reduced the indentation by 1... no idea why