Solutions to tasks from week4