adding code to analyze regret empirically for different algorithms