adding perfectnumbers java + fix for ruby version
merge commit