ex 6

- added exercise 6