liu xianglong's solutions to rest of week 3