Create longestconsecutive.cpp