initial commit for hegarty lectures