matrix transposition question solution