get_gap_times function
Merge pull request #2 from Odoh/master

Added get_gap_times function from Odoh.