Monte Carlo method based algorithms investigation