When refugees arrive in a new country, everything is unfamiliar. Most countries just assign refugees to cities completely at random -- or according to where the open spots happen to be when the person arrives. But a new algorithm developed by Stanford’s Immigration Policy Lab could use refugees’ backgrounds to match them with their ideal cities – vastly improving their chance at employment and integration.