A card-counter named Bill Benter developed an algorithm for betting on Hong Kong horse races that earned him nearly a billion dollars.