Add algorithm to check if any number is a perfect number: https://en.wikipedia.org/wiki/Perfect_number