public void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException{		
		    String [] dimensions = value.toString().split(",");
		    if(!Pattern.matches("[a-zA-Z]+", dimensions[0])){
				int minCenter = CalculateDis (dimensions, centers); 
				StringBuilder str = new StringBuilder();
				for( int i = 1; i<dimensions.length;i++){
					str.append(dimensions[i]);
					str.append(',');
				}
				for (int i = 1;i<=num_Clusters;i++){
					if(i==minCenter){
						context.write(new Text(Integer.toString(minCenter)),new Text(str.toString()));
					}
					else{
						context.write(new Text(new Integer(i).toString()), new Text("null"));
					}
				}			
		    }
	}