Code to find magic bitboards for chess engines.