Numerical simulation and fractal analysis of mesoscopic scale failure in shale using digital images