Added common functions. Renamed stringFunctions.py to commonFunctions.py