Adding solutions to Chapter 1, exercises 1-16