Transposing Matrices in Ruby | CodeSignal Learn