Added variable: number pops

I made the number of populations a variable. You’re welcome.