Simple script to pivot a table with a given seed