Added random words generator, fixed bug with empty words.