C Project that calculates the average of values in a CSV data.txt file