searching function added
gitignore modified