palindrome problem; good practice with mod and incrementing