First assignment in my intelligence class,using n_bandits algorithms.