testing

Added pairwise, as well as a move function that implements pairwise. Tested and everything.
derp. I think I've got a better version in OASIS commons, I really need to merge those two. Not sure how to do that.