Now we can learn for a fixed number of episodes or unitl a given performance is achieved
Changing LEARN api to use with different modes
Fixing the porcentage bar on avg_dyna
Returning the amount of episodes, for performance case
Ploting the comparison curve