This is a example how to use UDF in pig