Refactor query.rb
Move the new vietnamese checking function to utils.rb
MAGIC