Add exercise 8.

Add exercise 8.