script for part 2 of assignment 1