add code for "ListOfPerfectNumbers" task

Number Theory