code for lab sessions in the Problemsolving and Programming under Pressure (popup) course