working through chapter 1

Playing around with some of the initial functions talked about in
chapter 1