Ngram code in Golang