Update geoip.py

improved a bunch of sloppy ass code. github online edit, not pushed from Linux lol.