add solution to task 3A