new file:   lib/transpose.js