Add transpose method to RubyArray