A simple, functional library for pivoting data sets