Added format_helper.php

Contains helper functions that format several inputs to other string representations.