Task 2 (mostly) completed.

Code works, but have to comment it. Text for T2 is done.