Fixed bug where bytes were not being counted correctly
Updated algorithm to print results in CSV format