Add code to implement glicko rating system