hw4_1
added queries to homework