Chinese restaurant process sampling

I added sampling for 
http://en.wikipedia.org/wiki/Chinese_restaurant_process