store integers instead of floats so that it's easier to run the script for multiple input files
summed up the ngrams by length