Generates Psuedo Primes in log n time, not fully working I need to make the function usable but it'll require somebody who knows java far better then I.