Added exercise 6.
Finished the basic exercises.