Generating distance comparisons between all businesses in Pig/Jython UDF.