An implementation of the ELO Rating System