add code of "ListOfPerfectNUmbers" task