created palindrome php function file