i want to create the most basic and simple soccer manager game, i need some codes to get me starting

to start off, il create 10 teams, to battle it out

question 1:
how do i make a shedule of matches randomly as easy as possible
1 match vs all other teams, so 9 in total per season

question 2:
how do i make the most basic leaderboard
getting the team with the most points on top

thx in advance, and try to keep it as simple as possible