Changed ORD

1. changed the name of variable ORD to indexOfPrimeToSquare, to make its purpose more clear
2. simplified the incrementation of indexOfPrimeToSquare