What's wrong with my A* algorithm ?

Thanks a lot, such a precise answer ! I will try that today.