Code for the workshop on "Introduction to Pig" at Fifth Elephant, Bangalore, India on 26th July, 2012.