Dynamic Array And Static Array Python Initialize Matrix