Create SherQuery.cpp

Sherlock and the Query Problem