Create Sherlock_and_Queries.cpp