fixed task 4
finishing task 7 and hw 1