First attempt on Primefactor-algorithm