Added loop to run threads till ntimes

Needs to run until philosophers are full, or forever if ntimes is 0