Modelling crack growth by level sets