addWordRandomly() method