clarify query_to_vector in assignment2