First solutions of tasks 1 to 4

Solution of tasks 1 to 4 before retrospection