Completed exercise 4a, and 6.