Random word selection

Added logic to select random word.