TextQueryProblem passed all trivial tests
first commit