A perfect number finder - ruby