A Fast Algorithm for Computing the Deficiency Number of a Mahjong Hand