Code required to follow lectures from CS193p