Hadoop pipes mapper and reducer for computing longest common prefix array