Random DNA generator with strings assigned to each random centroid