pub fn extract_memory_position(
    cell: Location,
    s: &InternalState
) -> Result<usize, Error>