lec notes and cpp file for lecture today