add exercise solution to 04C