Monte Carlo code for solving radiation problem