Code working and generating all possible score pairs