Update functions.py

Added function to return search results (keywords)