adding solutions to the exercises