Pregunta de entrevista de Stitch Fix

Implement a function that samples from multinomial distribution