added functions for log table and function that tests dave's query

-modified the create table act2.log
-modified the function act2.logquery to take paramaters that include a
short name of the test and the number of iterations
-modified call to the function to test dave's query