figured out the Elo algorithm