A python script for the calculation of the effective dielectric constant for a mixture of two phases