Homeworks 1 and 2

Tasks 1_1, 1_2, 1_3 and 2_4 already checked by Pavel Lapata.
Task 2_5 reviewed by Pavel Lapata and corrected by me.