Update search.py

Added copyright and license