Update PiFunctions.py

Added GNU license agreement