Adding finished hw3 for queries