Create GeneratePairs.py

Need to cleanup code, better comments