changed the random function, so it will always work.
Added a check to see the length of the final sentence.