Update Longest Common Prefix.cpp