row and column matrix example with solution