Transposing a Matrix in Java | CodeSignal Learn