Example code and material for new physics students