Create exponent.py

First version of exponent.py