Removed 1-9 part, changed isPrime to go from 1 to currentNumber.