UCB CS61A homework7