runs a specified number via a shell spawned from python's subprocess module to perform timing simulations on a dictionary of the form 'testname => shell command"