Galaxy formation. Numerical modelling of galaxy formation and evolution