Create helperFunctions.php

Functions to help gridphoria.php and other programs