Added some work on week6 programming assignament.