working function to build pairs -- no logic
counting matches played