Create diman.py

Oops this was deleted