Create subcommands to build/generate

Store a markov chain to a json file, and read from a stored file to
generate text.