Search and Output

Code to handle searching using Queries.txt and output to Results.txt.