Create searchmethod.py

add serachmethod file