For loops and arrays

ComputeFreqs