Sample code for Paths to CS class (University of Maryland)