Added exercise 8

Here similarly to Ex. 7 `[x]` pattern wasn't necessary.