Code and write-up for the course.