public void download() {
		if(peerList.isEmpty()){
			//System.err.println("There are no peers to download from.");
			downloading = false;
		}
		else{
			//Extend
			for( Peer p: peerList){
				System.out.println("Downloading from: " + p.ip);
				p.download();
			}
			
			/*{
				Peer p = peerList.get(0);
				System.out.println("Downloading from: " + p.ip);
				downloading = true;
				p.start();
			}*/
			
			downloading = true;
		}
	}