added script to hw4
added script to hw4
added script to hw4