Added answers for task 1 and task 2