Sample Code From Lectures

Some code described in class will be placed here. (Sometimes additional examples will also be placed here that are related to the course but were not presented due to time constraints.) If you find any mistakes in the code or would like clarification on it, just email matthewj@cs.ucdavis.edu.