new script frequency.js creates csv files to plot x and y frequency plots for throw data
added comments to the terrible ghastly despicable abomination of a writeToFile function
merge conflict resolved