added week 2

week 2 homework and code example