Added the material of lecture 4.