Added solutions to problems 6 through 10.