getting ready for heroku
add generate function to pairing
adjust index for pairings
fix merge conflicts