Create map.py

So much unoptimized garbage...