Use reset instead of clear in ngram.d
Add expand from discussion on D forums
Fix comment
Refactor
Add t_debug.d
Fixes