Modified file writer to take in arrays. All output files written with this call:
int writeAllOutputFiles(float sums[], int histA[], int histB[], int histC[]);