Categorical function

Create a Categorical distribution