R Code to generate figures used in Dirichlet Process mixtures example on the Dirichlet Process Wikipedia article