Python Prime Numbers Library