Added question 6 (Swift playground)