Create longestConsecutive.cpp