Add exercise solution for 'A List'