Loop for running multiple experiments