my first ruby practice, I picked writing to test for a palindrome