Lecture04 to 06 with exercises added