Added lecture 3 tasks 1-4.