started programming exercise 6