Modelling and simulation of cell migration in heterogeneous media