improved algorithm.
check for division by previously found primes smaller than square-root of number_being_tested.
removed square root. dividing instead.