updated variable names in CalculateOddPrimes
ord --> indexOfPrime
j --> cur