Implementation and modeling of Sultans Dowry problem simulations