Added Task 1 solution