Slides and codes for lecture 7 (advection)