How Mark Cuban turned the Dallas Mavericks franchise around by treating it like a startup