added my solutions up to chapter 6