renamed MULT to notPrimeArray and potentialPrime to currentNumber. Removed global variable ORDMAX and set the size of notPrimeArray to one more than the square root of numberOfPrimes - ORDMAX was unnecessarily confusing, and this way someone using this program only needs to be concerned with the number of primes they want. Replaced all instances of syntax x = x + 1 with x++