Task 3 and 4

Uploaded tasks 3 and 4.