Coded Population and fixed any remaining errors until it ran