A simple example showing how to write a word prediction algorithm, similar to t9, in Go.