updated processQuery to handle new function
Merge branch 'master' of https://github.com/umass-cs-326/team-feedme