Python scripts for Lab 3 challenge problems