added 2/3 dimensional array creator funcs