Enter the size and elements of your 2D array to find its maximum value.
[[1, 2, 3], [4, 5, 6], [7, 8, 9]]
9