What you mean?
You believe in something, but I don’t believe you and programing isn’t belief!
Your tests [on ideone] are very very weak.
Can you answer [explain] why your program give:
6 and 8
?? --> https://ideone.com/oansal <–
Do you think than from h8 to a1 is littel longer then from a1 to h8 ?