Please edit your post and wrap your code with


<YOUR CODE HERE>

to get highlighting and preserve formatting.


Where does it get the word from? How can it get a different word next time...