Lecture 7, tasks 1&2 done.