public int desiredPrime(int num) {
		// Create an array to hold primes
		ArrayList<Integer> primeList = new ArrayList<Integer>();
		int desiredPrime = 0;
		
		for (int i = 2; primeList.size() < num; i++) {
			if (isPrime(i)) {
				primeList.add(i);
			}
		}
		
		desiredPrime = primeList.get(primeList.size() - 1);
		return desiredPrime;
	}