Create findConsecutiveRanges.cpp