Lect.1 and lect. 2 programming tasks