started code to randomize word sequences