Moved code from getNextPrime() into checkTestNumberAgainstNonPrimes()
The code is again is not insightful and moved into a method explaining
what the code is doing. Also did some formatting of the code for
readability.