Removed functions for specific length n-grams and added generic n-gram function.