Racket and LaTeX code from lecture.