Added script for Problem 4b