@Override
	public void start() 
			throws Exception {
		
		String[] args= this.par.getArgs();
		int inputNumberValues= args.length - 1; //-1 for command word
		if(inputNumberValues != 3)
			throw new Exception("Incorrect input for kmeans");
		
		int clusterNumber= Integer.valueOf(args[1]);
		int maxIter= Integer.valueOf(args[2]);
		String dir= args[3];
		
		System.out.println("KMEANS CLUSTERING STARTED: Please wait...");
		KMeans kmeans= new KMeans(clusterNumber, maxIter, dir);
		kmeans.execute();
		System.out.println("KMEANS CLUSTERING COMPLETED");
	}