Improved random sentence generation

Improved random sentence generation.