A Python program to calculate the probability of drawing M number of matching colors over N iteration