Just three seasons ago, the Brooklyn Nets were the worst team in the NBA