Code now generates output txt file to consolidate quartiles stats.