Code demonstrated in March 5 lecture.