Update exercise 1 solution