A crack-tip element for modelling arbitrary crack propagations