Implement multinomial_coefficients
Refactor the dictionaries
Measure time