completed the relaxed palindrome exercise from day 3