added code samples
Added links to lectures 6 and 7