TIL about Bill Benter, a gambler who wrote an algorithm that helped him win nearly $1 billion on horse races.