Added code of lec04