lab3

1st and 2nd tasks