Code from exams and tasks