Grading for Question 4 -- 20 points
Point allocation was as follows:
Part 1: 4 points
Part 2: 4 points
Part 3: 4 points
Part 4: 2 points
Part 5: 6 points
Histogram