Added validation for population checks. Closes #20
Changed form OnSubmit tag to check both territory and populations percentages. Changed functions to return true if territory option is not applicable.