Optimization Algorithm in Traditional Card Game Rummy 21