The dynamical generation of two-dimensional matter-wave discrete solitons