Started on a generator for randomising the sequences