Completed lab3, exercise 6