AdventJS 2023 Day 11 Challenge. Finding index for a Palindrome