void download(int arg){
		//arg--;
		if(((arg-1)>=0 && (arg-1)<Connection.list_IP.size()) && Connection.list_IP.size()!=0)
		{
			System.out.println("Initiating download...please wait");
			int proceed=1;
			if(downloadArg.contains(arg-1))
			{
				long prev=Connection.download.get(arg-1);
				try {
					Thread.sleep(500);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
				long aftr=Connection.download.get(arg-1);
				if(prev==aftr)
					{
						proceed=1;
						downloadArg.remove(arg-1);
						
					}
				
				else
					{
						System.out.println("download: You are already downloading this file");
						proceed=0;
					}
			}
			else if(proceed==1){
			downloadArg.add(arg-1);
			new download(arg-1);
			}
		}
		else if(Connection.list_IP.size()==0)
			System.out.println("Download: Empty List!!!");
		else
			System.out.println("Usage: download <1-"+Connection.list_IP.size()+">");
	}