Finished 4-th homework