add elementary exercise 2