Got working system for generating population. FINALLY. Last names working as well.