Added psh.py
Added doc for explanation