created exercise 6 file
completed exercise 6