rewritten fakeparental.py

rewrote fake parental.py as a function into nilsim.py. Rewritten to be
much faster and finally(!) fixes problems with chr ends