add problem20 with Ruby