[Q13.10]implement a 2DAlloc funtion, which allcoates memory for 2D array using the minimun number of malloc