Create findMaxConsecutive.cpp