private static void printAllPrimes(int limit){
		if(limit<=1)
			System.out.println("No Primes");
		else if(limit==2)
			System.out.println("Primes : 2");
		else{
			
			for(int dividend=3; dividend<limit; dividend++){
				if(dividend%2==0)
					continue;
				
				boolean isPrime = true;
				int loopCounter = 0;
				for(int divisor=3; divisor<dividend/2; divisor++){
					
					loopCounter++;
					if(dividend%divisor == 0){
						isPrime=false;
						break;
					}
				}
				if(isPrime)
					System.out.println(dividend +" and loopCounter is "+ loopCounter);
			}
		}
			
			
	}