Update Search.cpp

Here is my suggested version.