public NDArray(shape as ArrayList<Object>):
Constructs a new NDArray with the given shape.
shape
a = NDArray<Int>([3, 4])