Added more code to have less useless rotations

The strategy when entering a cell is now ahead / left / behind / right
Entering from the West this does East / North / South / then backtrack
to the West