The NBA’s draft lottery explained