The Emergence of “Us and Them” in 80 Lines of Code