fn put(state: &mut State) {
    let y = state.stack.pop();
    let x = state.stack.pop();
    let v = state.stack.pop();
    state.set_value(Location{x : x as usize, y : y as usize }, util::i64_to_char(v));
}
// put pops the values y, x, and v and stores value v at location {x,y}
put pops the values y, x, and v and stores value v at location {x,y}
put pops the values y x and v and stores value v at location { x y }
fn put(state: &mut State) {
    let y = state.stack.pop();
    let x = state.stack.pop();
    let v = state.stack.pop();
    state.set_value(Location{x : x as usize, y : y as usize }, util::i64_to_char(v));
}
fn put ( state : & mut State ) { let y = state . stack . pop ( ) ; let x = state . stack . pop ( ) ; let v = state . stack . pop ( ) ; state . set_value ( Location { x : x as usize , y : y as usize } , util :: i64_to_char ( v ) ) ; }
put pops the values y, x, and v and stores value v at location {x,y}
put pops the values y x and v and stores value v at location { x y }
state
&mut State
state
&mut State