Added week 10 code.