testing

Added pairwise, as well as a move function that implements pairwise. Tested and everything.