pub fn mobility_index(mobility: Bitboard, magic: u64, shift: usize) -> usize
returns index of mobility in mobility table for a magic and shift