Programming assignment2 script