UCB CS61A homework8