Create general search.cpp

run this if you want to search on nodes of order <= n