Great example of Python UDF in Hadoop with Pig