Updated PairwiseStrategy implementation. Added comments for developers.

 Updated PairwiseStrategy implementation. Added comments for developers.