Code for Arithmetic lecture.