upload week 1 code by chenhao