Use Effect With Empty Array Python Initialize 2d