Created map reduce pair to calculate question length and average answer length.
Refactored to remove duplicate common code.