Solution for week8 by wangmeng