C# version of smalltalk.cpp from Vincent JACQUET
D implementation for bigrams from Benjamin Thaut