pub fn turn_after_step(step: u64) -> Turn {
        let mut step_without_twos = step;
        while step_without_twos != 0 && (step_without_twos % 2) == 0 {
            step_without_twos /= 2;
        }
        if step_without_twos % 4 == 1 {
            Turn::Left
        } else {
            Turn::Right
        }
    }
/// Whether to turn left or right after a move forward.
Whether to turn left or right after a move forward.
Whether to turn left or right after a move forward .
pub fn turn_after_step(step: u64) -> Turn {
        let mut step_without_twos = step;
        while step_without_twos != 0 && (step_without_twos % 2) == 0 {
            step_without_twos /= 2;
        }
        if step_without_twos % 4 == 1 {
            Turn::Left
        } else {
            Turn::Right
        }
    }
pub fn turn_after_step ( step : u64 ) -> Turn { let mut step_without_twos = step ; while step_without_twos != 0 && ( step_without_twos % 2 ) == 0 { step_without_twos /= 2 ; } if step_without_twos % 4 == 1 { Turn :: Left } else { Turn :: Right } }
Whether to turn left or right after a move forward.
Whether to turn left or right after a move forward .
step
u64