add source code of exercise 20140321