Compositionality and Generalization In Emergent Languages