4-th homework(2)

mistakes corrected