added support for precints and genders to master.py, added shell script for precincts