add source code for exercise charpter 1