Added SegmentedSieve and Miller Rabin