Modeling cities using ideas from Economic Complexity and Cultural Evolution