Answer from cs61c-ek (jin tang li 15994133) for Question 4 the reason is that the code has been initialize twice and has no end code.