Answer from cs61c-aq (Anjali Jagannatha Koppal 16454392) for Question 5 the code in the notes were hard to comprehend