added another exercise solution