Fixed typo.
Created GapUtil class to house miscellaneous functions.