Submitting HW6.
Merge pull request #41 from kgarofali/homework6

Submitting HW6.