A time-dependent wave packet approach for reaction and dissociation in H2+H2