Update shiftpi.py

Added docstrings (see http://www.python.org/dev/peps/pep-0257/) to display text when using 'help(shiftpi)'
Merge pull request #2 from NathanBookham/patch-2

Update shiftpi.py. add doctstrings