Moved source-adding into a separate private function. This will be useful for saving sources as MarkovDBs without including state length in the generators.

Signed-off-by: Paul G <p.ganssle@gmail.com>