Hw4

Merge request for homework 4.
Finally!