added documentation for the exercise