Jason McIntosh's solution to the BetOnMarkets programming challenge.