void execute(int quanta = 1){
			if(jobs.empty()){
				NoJobException exp;
				throw exp;
			}
			current ++;
			current %= jobs.size();
			// did the job
			for(int i=0; i<quanta; ++i){
				jobs[current].incCompleted();
				// set the response time
				jobs[current].setResponseTime(scheduler->getCurrentTime()+i - jobs[current].getArrivalTime());
					
				cout << jobs[current].getName() << "\t";
				// add the wait quantum to everybody other than current
				int size = jobs.size();
				for(int j=0;j<size;++j){
					if(j == current)
						continue;
					jobs[j].wait();				
				}
				
				// if completed tell the My_Scheduler
				if(jobs[current].isCompleted()){
					JobDoneException exp(jobs[current], i+1);
					removeCurrent();
					if(jobs.size()){
						current += (jobs.size()-1);
						current %= jobs.size();
					}
					throw exp;
				}
			}
		}