Added random functionality to stop repitition of words