Create LongestCommonPrefix.cpp

stuck at map::erase for long
it will return an iterator if parameter is an iterator
finally get acc but the solution is too customized 
noticing that some mention the use of trie