update of my class notes and the 8th homework (simple linear list)