Added solutions to the exercise problem