MapReduce programs in Java