added pig scripts for exercise 3