Update shiftpi.py

Added docstrings (see http://www.python.org/dev/peps/pep-0257/) to display text when using 'help(shiftpi)'