Random codes from graduate courses I took during my Masters.