Submitted solutions to chapter 5's exercises.