Merge API Interview Question

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