Monte-Carlo simulation of crack propagation in polycrystalline materials