added rosettacode.org/wiki/Perfect_numbers#FunL task
added repeat loop