c++ buffer overflow example - Search