Here are the programs from the lecture notes: