CS188 Assignment B