Create longestsequsingmap.cpp

This code uses map to find the longest consecutive sequence .