Given a two-dimensional array of integers, reverse all rows.