pub fn log_find_magic_and_shift( bw: &mut BufWriter<File>, sq: Square, attack: Bitboard, name: &str, )
find and log magic and shift