Turned the ngram distribution into a class.
Added saving and loading of ngram distributions to disk.