I have my data in column 1 and 2 like this

M Y
R U
D R
Y K
K D
U M

but i want them to be arranged like this

M M
R R
D D
Y Y
K K
U U

Can anyone help me please.