Fixing a bug both $start and $return are now an array, doesn't need to be imploded.
Bug fixes with regard to different sized degrees than start tokens. Cleanup a bit in the generate function preprep too.
Adding demonstration of text_generator. Run as, for example <php text_generator.php lipsum 100 1 "Nulla ac">