Finding trigrams of text files using distributed approaches with Erlang