Completed exercise 1, assignment a