Working copy matt

added java example map reduce