Answer from cs61c-ek (jin tang li 15994133) for Question 5 the codes in the hp notes are very confuse and hard, I cannot understand some of the syntax in the code.