You can find the source code of each section attached to the last lecture of that section (e.g. this one for the first section). Each section contains multiple snapshots for different states of the code (as it was written throughout the section).