Create helperFunctions.php

Functions to help with processing data