EMR output + Working Q2/Q3 mapper and reducer code