Add prime factorisation program

naive/pfac.c uses a prime table to factorise a given number. The output is
naturally sorted. Due to some nasty limitation in the naive.h header, the
last prime in the table cannot be taken into account. naive/rpt.c has the
same problem which it works around very uglily. TODO.