Start implementing a slow factorization algorithm