solutions to chapter 2 (getting started)