adding perfectnumber kata ruby version