Create longest_common_prefix.cpp