Is there a way to convert rows to columns?

a b c d ...
aa bb cc dd ...

to

a aa
b bb
c cc
d dd
...