Pergunta de entrevista da empresa Stitch Fix

Implement a function that samples from multinomial distribution