Palindromatic app in Ruby