Merge API interview question

Create a class with operations to manipulate a 2d matrix.