started on assignment 8
answered questions 3 and 4