chap 9 random word generator