Update main2.cpp

input + initializing localsearch