public void run()
		{
			if(pool.debug==true) System.out.println("Thread " + id + " starts.");
			while(!done)
			{
				Runnable runnable = queue.get();
				if (done)
					break;
				if(runnable==null)
				{
					if(pool.debug==true)
						System.out.println("Thread " + this.id + " is being stopped due to an InterruptedException.");
					continue;
				}
				else
				{
					if(pool.debug==true) System.out.println("Thread " + id + " executes a runnable.");
					runnable.run();
					if(pool.debug == true)
						System.out.println("ThreadPoolThread " + id + " finishes executing a runnable.");
				}
			}
			if(pool.debug==true) System.out.println("Thread " + id + " stops.");
		}