get a list of collocated pairs of tokens
Code receives from command line some arguments such as a text, length of a word, frequency of bigrams and the number of bigrams required and returns a list of bigrams.