Renamed code samples to correspond with lecture note numbers.