Update searches.py

added functions, searches should become the connector between the flask interface and the algorithms. Right now searchTopXterm can use the TFIDF dictionary as input.