Create maxConsecutiveRange.cpp