Added script for Problem 4a