script for generating complete n-grams from gutenberg books (1, 2, 3)