Added exercise 1 solution.