FM Code Challenge #1: A function written in Ruby to detect if a string is a palindrome or not.