Snake moves with A*