Phase-field modeling of crack growth and interaction in rock